<!--{template user/header}-->
<div class="container">
  <div class="nav-action">
		<!--{template user/left_side}-->
  </div>
  <!-- nav-action end -->
  <div class="content-panel">
      <div class="tab">
      	<a {if $op === 'auth'}class="selected"{/if} href="index.php?do=user&view=account&op=auth" >账号认证</a>
      </div>
      <div class="tab_detail">
      	             <div class="table-responsive">
                      <table class="table table-hover">

					{loop $arrAuthItems $v}
                      <tr>
                        <td>
                            <div class="media">
                              <div class="pull-left">
                                  <img class="media-object" src="{$v['auth_big_ico']}" alt="{if in_array($v['auth_code'],array('realname','enterprise'))}
										身份认证
                                {else}
									{$v['auth_title']}
                                {/if}">
                              </div>
                              <div class="media-body">
                                <div class="pull-right">
                                    <span class="label mr_10
                                    {if $arrUserAuthInfo[$v[auth_code]]['auth_status']}
                                      label-success
                                    {else}
                                      label-default
                                    {/if}">
                                    {if $arrUserAuthInfo[$v[auth_code]]['auth_status'] =='1'}
                                      <i class="fa fa-check"></i>已认证
                                    {else}
                                    	未认证
                                    {/if}
                                    </span>

                                  {if $arrUserAuthInfo[$v[auth_code]]['auth_status'] =='1'}
                                    <a href="index.php?do={$do}&view={$view}&op={$op}&code={$v[auth_code]}" class="btn btn-default btn-xs">查看认证</a>
                                  {else}
                                    <a href="index.php?do={$do}&view={$view}&op={$op}&code={$v[auth_code]}" class="btn btn-default btn-xs">立即认证</a>
                                  {/if}
                               </div>

                                <strong class="media-heading">

                                {if in_array($v['auth_code'],array('realname','enterprise'))}
										身份认证
                                {else}
									{$v['auth_title']}
                                {/if}

                                </strong>
                                <p>$v['auth_desc']</p>
                              </div>
                            </div>
                            </td>
                          </tr>
					{/loop}

                      </table>
                    </div>

      </div>
  </div>
</div>
<script type="text/javascript" src="static/js/model/user/account.js" ></script>
<!--{template user/footer}-->